package com.sxhalo.fsms.domain;

import java.util.Date;

public class FactArea {
	/**
	 * 区域id
	 */
	private Integer areaId;

	/**
	 * 区域名称
	 */
	private String areaName;

	/**
	 * 区域说明
	 */
	private String areaDesc;

	/**
	 * 上级区域编码
	 */
	private Integer parentId;

	/**
	 * 是否启用
	 */
	private Integer useState;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 上一级名称
	 */
	private String parentName;
	/**
	 * 删除标记
	 */
	private Integer deleteFlag;
	//当前区域下是否有设备  1有 null 没有
	private Integer hasDevice;
	//当前区域下是否有子区域  1有 null 没有
	private Integer hasChild;

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName == null ? null : areaName.trim();
	}

	public String getAreaDesc() {
		return areaDesc;
	}

	public void setAreaDesc(String areaDesc) {
		this.areaDesc = areaDesc == null ? null : areaDesc.trim();
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getUseState() {
		return useState;
	}

	public void setUseState(Integer useState) {
		this.useState = useState;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getParentName() {
		return parentName;
	}

	public Integer getHasDevice() {
		return hasDevice;
	}

	public void setHasDevice(Integer hasDevice) {
		this.hasDevice = hasDevice;
	}

	public Integer getHasChild() {
		return hasChild;
	}

	public void setHasChild(Integer hasChild) {
		this.hasChild = hasChild;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

}